package com.tender.controller;

import com.tender.common.ActionResult;
import com.tender.dtos.ExportDTO;
import com.tender.dtos.ExportShipDataAndShipVisitInfoDTO;
import com.tender.model.ImportShipCondition;
import com.tender.model.ImportUnitCondition;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 物流可视化出口信息
 */
@Tag(name = " 物流可视化首页-出口-详情页", description = "物流可视化首页-出口-详情页")
@RestController
@RequestMapping("/api/visualization/export/detail")
public class ExportDetailController {

    @PostMapping("/unit")
    @Operation(summary = "物流可视化-详情页-箱子-出口")
    public ActionResult<ExportDTO> importDetailUnit(
            @Parameter(description = "物流可视化-详情页-箱子-出口")
            @RequestBody ImportUnitCondition param) {
       return ActionResult.success();
    }


    @PostMapping("/ship")
    @Operation(summary = "物流可视化-详情页-船-出口")
    public ActionResult<ExportShipDataAndShipVisitInfoDTO> exportDetailShip(
            @Parameter(description = "物流可视化-详情页-船-出口")
            @RequestBody ImportShipCondition param) {
        return ActionResult.success();
    }

}
